package L1;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * 跟奥巴马一起画方块
 */
public class _015 {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] s = reader.readLine().split(" ");
        double N = Double.valueOf(s[0]);
        String c = s[1];
        for (int i=0;i<Math.round(N/2);i++){
            for (int j=0;j<N;j++){
                System.out.print(c);
            }
            System.out.println();
        }
    }
}
